FROM 88277648/openjre17-min:v1.1
RUN mkdir -p /app
ADD ./hope2-mcp-server-0.0.1.jar /app/app.jar
WORKDIR  /app
EXPOSE 8006
ENTRYPOINT ["java","-XX:+UseG1GC","-XX:MaxGCPauseMillis=200","-Dspring.profiles.active=uat","-jar","/app/app.jar"]

#docker build -f ./hope2-config/docker/analyzer/Dockerfile -t hope2/analyzer .
#docker run -p 8003:8003 -v /root/hope2/runtimeVolume/data:/opt/hope2/data -v /root/hope2/runtimeVolume/log:/opt/hope2/log -v /root/hope2/runtimeVolume/db:/opt/hope2/db -v /root/hope2/runtimeVolume/rule:/opt/hope2/rule --name=analyzer -d hope2/analyzer

#docker run -p 8006:8006  --name=mcp  moneyice/hope2-mcp-server:v1.0
